﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KPIS.GERP.GBMS.IBLL;
using KPIS.GERP.GBMS.MODEL;
using System.Data;

namespace KPIS.GERP.GBMS.IBLL
{
    public interface IBGMKPIResultListBLL
    {
        int LoadYearType();

        List<MODEL.BGMKPI> LoadGridKpiTarget(int intTargetSeq);

        DataTable SearchTarget(int intKpiSeq);

        DataTable ListJobsiteKPI();

        DataTable ListBgmProjSeq(int intYear, int intJobsite, int intProjectType);

        DataTable ListMainActKPI(int intYear);

        DataTable ListSubActKPI(int intYear);

        DataTable ListOutputKPI(int intYear);

        DataTable ListTargetKPI();

        DataTable LoadKPIListType();

        DataTable GridProject(int nStratType, int nTargetType, int nProjectID);

        DataTable GetProject(int intKpiSeq);

        DataTable GetKPIListType();

        DataTable GetData(int intKpiSeq, int intTargetDetSeq);

        DataTable GetName(int kpi_seq, int bgm_strat_list_seq, int kpi_list_type_seq);

        void KPIUpdate(int intKpiSeq, string strKpiName, string strDescription, int intKpiTypeSeq,
                             string strKpiUnit, Nullable<int> intWeight);

        void UpdateTarget(int strKpiDetSeq, double? dblKpiDetResult, string created_by);
    }
}
